<template>
  <div class="com-box">
    <yubutton @click="handleClick" throttleTime="1000">test</yubutton>
    <yuinput v-model="testValue" clearable>
      <template v-slot:pre>
        <div>前</div>
      </template>
      <template v-slot:last>
        <div>后</div>
      </template>
    </yuinput>
    <yuselect />
  </div>
</template>

<script setup lang="ts">
// import { RouterLink, RouterView } from 'vue-router'
// import HelloWorld from './components/HelloWorld.vue'
import { ref } from 'vue'
import yubutton from './views/package/components/button/YuButton.vue'
import yuinput from './views/package/components/input/YuInput.vue'
import yuselect from './views/package/components/select/YuSelect.vue'
const handleClick = () => {
  console.log('test')
}
const testValue = ref('测试输入')
</script>

<style scoped>
.com-box {
  width: 100vw;
}
</style>
